import VueRouter from "vue-router";
import home from "../../lib/router/home.vue";
import shoppingcart from "../../lib/router/shoppingcart.vue";
import member from "../../lib/router/member.vue";
import search from "../../lib/router/search.vue";

let router = new VueRouter({
  routes: [
    { path: "/", redirect: "/home" },
    { path: "/home", component: home },
    { path: "/shoppingcart", component: shoppingcart },
    { path: "/member", component: member },
    { path: "/search", component: search }
  ],
  linkActiveClass: "mui-active"
});

export default router;
